package com.gxnualbert.proxy.observer;

import java.util.Observable;
import java.util.Observer;

/**
 * @auther gxnualbert
 * @create 2021-05-03-20:49
 */
public class TianMaoObserver implements Observer {
    @Override
    public void update(Observable o, Object product) {
        String newProduct = (String) product;
        System.out.println("发送新产品【"+newProduct+"】同步到天猫商城");

    }
}
